Skip to main content

DescribePropertyUserDetail

Description

call the DescribePropertyUserDetail interface to obtain the details of an account in the account list.

Request Method

POST

Request Path

/apsara/route/aegis/DescribePropertyUserDetail

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
IsRootBODYstringNo0whether you have ROOT permission. Valid values include: 0: no 1: Yes
UserBODYstringNotestspecify the name of the account to be queried.
UuidBODYstringNo50d213b4-3a35-427a-b8a5-04b0c7e1f4d2Specify the UUID of the asset to be queried.
PageSizeBODYintegerNo2specifies the number of data items displayed on each page of the list.
CurrentPageBODYintegerNo1specifies the current page number of the returned result.
regionIdBODYstringYesNo sample value for this parameter.region id
versionBODYstringNo2016-01-01version of api
RemarkBODYstringNo0.0.0.0server name or IP.

Return data

NameTypeSample valueDescription
Statusstring0returns the login status of the account. Valid values include: 0: no login 1: login
PropertysarrayNo sample value for this parameter.returned account details list.
IsRootstring0returns whether the account is ROOT permission. 0: no 1: Yes
GroupNameslistadmuser group.
Userstringadmaccount name.
RequestIdstringFAA793EF-5B14-4CDD-B3E0-B14D4342C422request ID.
PageSizeinteger2The number of data pieces per page in the returned result.
LastLoginIpstringN/ALast login source.
InstanceIdstring02c4a5dc-c2d2-483a-9015-f972b44d2cd9return the asset ID in the result.
Ipstringnullreturns the IP address in the result.
Countinteger2the number of data displayed on the current page of the returned result.
AccountsExpirationDatestringneverreturns the expiration time of the account.
IntranetIpstring0.0.0.0returns the private IP address of the asset in the result.
InstanceNamestringnullreturns the asset name in the result.
LastLoginTimestringxxxxlast login time.
PageInfostructNo sample value for this parameter.the page that returns the result displays information.
TotalCountinteger384returns the total number of data.
Uuidstring02c4a5dc-c2d2-483a-9015-f972b44d2cd9return the asset UUID in the result.
InternetIpstring0.0.0.0returns the public IP address of the asset in the result.
CurrentPageinteger1returns the current page number displayed in the result.
Createstring1565644643000the latest acquisition time in the return result.
CreateTimestamplong1565644643000returns the acquisition timestamp in the result.
PasswordExpirationDatestringneverreturns the expiration time of the account password.

Example

Successful Response example

{
"Status":"0",
"Propertys":"",
"IsRoot":"0",
"GroupNames":"adm",
"User":"adm",
"RequestId":"FAA793EF-5B14-4CDD-B3E0-B14D4342C422",
"PageSize":"2",
"LastLoginIp":"N/A",
"InstanceId":"02c4a5dc-c2d2-483a-9015-f972b44d2cd9",
"Ip":"null",
"Count":"2",
"AccountsExpirationDate":"never",
"IntranetIp":"0.0.0.0",
"InstanceName":"null",
"LastLoginTime":"xxxx",
"PageInfo":"",
"TotalCount":"384",
"Uuid":"02c4a5dc-c2d2-483a-9015-f972b44d2cd9",
"InternetIp":"0.0.0.0",
"CurrentPage":"1",
"Create":"1565644643000",
"CreateTimestamp":"1565644643000",
"PasswordExpirationDate":"never"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}

title: DescribePropertyUserItem

DescribePropertyUserItem

Description

call the DescribePropertyUserItem interface to obtain the account information of the asset.

Request Method

POST

Request Path

/apsara/route/aegis/DescribePropertyUserItem

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
UserBODYstringNoadmaccount information of asset fingerprint.
PageSizeBODYintegerNo2when paging query, the maximum number of pieces of data is displayed on each page.
CurrentPageBODYintegerNo1the page number of the current page displayed when paging query.
regionIdBODYstringYesNo sample value for this parameter.region id
versionBODYstringNo2016-01-01version of api
ForceFlushBODYbooleanNotruewhether to force refresh the data to be queried.

Return data

NameTypeSample valueDescription
PageInfoNo sample value for this parameter.page displays information.
TotalCountinteger114the total number of data.
Userstringadmaccount name.
PageSizeinteger2The maximum number of pieces of data per page displayed during a paged query.
RequestIdstring76068BE2-F9C4-4EDD-967B-F503B8CCDD3Drequest ID of the result.
CurrentPageinteger1the page number of the current page displayed when paging query.
Countinteger384the number of servers corresponding to the account.
PropertyItemsarrayNo sample value for this parameter.account information.

Example

Successful Response example

{
"PageInfo":"",
"TotalCount":"114",
"User":"adm",
"PageSize":"2",
"RequestId":"76068BE2-F9C4-4EDD-967B-F503B8CCDD3D",
"CurrentPage":"1",
"Count":"384",
"PropertyItems":""
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}

title: DescribeRiskCheckItemResult

DescribeRiskCheckItemResult

Description

invoke DescribeRiskCheckItemResult paging query for assets affected by risk items of cloud platform configuration check.

Request Method

POST

Request Path

/apsara/route/Sas/DescribeRiskCheckItemResult

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
SourceIpBODYstringNo1.2.3.4access the IP address of the source.
PageSizeBODYintegerNo20When paging query, the maximum number of pieces of data per page is displayed.
CurrentPageBODYintegerNo1the page number of the current page displayed when paging query.
regionIdBODYstringYesNo sample value for this parameter.region id
LangBODYstringNozhthe language type of the request and receive message. Value: zh: Chinese en: English
ItemIdBODYlongNo2check item ID.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
TotalCountinteger1the total number of data.
ContentResourcejson{"resultStatus":[{"id":32183150,"status":"failed"}],"columns":[{"title":"zone","key":"RegionId"},{"title":"database instance ID","key":"DBInstanceId"},{"title":"problem entry value","key":"VulValue"}],"values":[{"DBInstanceId":{"type":"link","value":"dds-bp144b42843fed14\n","url":"https://mongodb.console.aliyun.com/replicate/cn-hangzhou/instances/dds-bp144b42843fed14/basicInfo"},"VulValue":{"type":"link","value":"0.0.0.0/0","url":"https://mongodb.console.aliyun.com/replicate/cn-hangzhou/instances/dds-bp144b42843fed14/whiteList"},"RegionId":{"type":"text","value":"East China 1 (Hangzhou)\n"}}],"emptyGridValue":{"type":"text","value":"No data"},"type":"grid"}paging data of dynamic tables affecting assets.
PageCountinteger3total number of pages of data.
PageSizeinteger10When paging query, the maximum number of pieces of data per page is displayed.
RequestIdstring3BFB4989-A108-46A4-954E-FF7EF02D1078the unique identifier generated by alibaba cloud for this request.
CurrentPageinteger1the page number of the current page displayed when paging query.
PageContentResourcestructNo sample value for this parameter.affects asset paging information.
Countinteger1the number of data on the current page displayed during paging query.

Example

Successful Response example

{
"TotalCount":"1",
"ContentResource":
{
"resultStatus":
[
{
"id":32183150,
"status":"failed"
}

],
"columns":
[
{
"title":"zone",
"key":"RegionId"
},
{
"title":"database instance ID",
"key":"DBInstanceId"
},
{
"title":"problem entry value",
"key":"VulValue"
}

],
"values":
[
{
"DBInstanceId":
{
"type":"link",
"value":"dds-bp144b42843fed14\n",
"url":"https://mongodb.console.aliyun.com/replicate/cn-hangzhou/instances/dds-bp144b42843fed14/basicInfo"
},
"VulValue":
{
"type":"link",
"value":"0.0.0.0/0",
"url":"https://mongodb.console.aliyun.com/replicate/cn-hangzhou/instances/dds-bp144b42843fed14/whiteList"
},
"RegionId":
{
"type":"text",
"value":"East China 1 (Hangzhou)\n"
}

}

],
"emptyGridValue":
{
"type":"text",
"value":"No data"
},
"type":"grid"
},
"PageCount":"3",
"PageSize":"10",
"RequestId":"3BFB4989-A108-46A4-954E-FF7EF02D1078",
"CurrentPage":"1",
"PageContentResource":"",
"Count":"1"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}